/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.space.roomland.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fuyao.cloud.common.core.util.KeyValue;
import com.fuyao.cloud.common.core.util.R;
import com.fuyao.cloud.space.entity.RoomLand;
import com.fuyao.cloud.space.vo.RoomLandExcelVo;

import java.util.List;

/**
 * 房屋模块
 *
 * @author 时间的朋友
 * @date 2021-11-09 15:19:15
 */
public interface RoomLandService extends IService<RoomLand> {

	/**
	 * 查询需要导出的数据
	 * @param queryWrapper 构造对象
	 * @return list 导出集合
	 */
	List<RoomLandExcelVo> listRoomLandExcel(QueryWrapper queryWrapper);

	/**
	 * 查询所有对应的 id --> 资产名称
	 *
	 * @return id => 资产名称
	 */
	List<KeyValue<Long,String>> listIdAndAssetName();

	/**
	 * 批量删除
	 * @param ids 土地集合ids
	 * @return R
	 */
    R batchDelete(List<Long> ids);
}
